#include "problems/53.h"
#include "gtest/gtest.h"

TEST(TestProblemSolutions, TestProblem53)
{
    problem_53::Solution s;
    vector<int> nums{-2, 1, -3, 4, -1, 2, 1, -5, 4};
    ASSERT_EQ(s.maxSubArray(nums), 6);
}